package com.jeesite.modules.exam.socreResult.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * 考核任务-常用组机构
 * @author xhc
 * @version 2022-06-01
 */
@Table(name="dc_sup_exam_group_unit", alias="a", label="考核任务-常用组机构", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="group_id", attrName="groupId", label="常用组id"),
		@Column(name="unit_code", attrName="unitCode", label="单位编码"),
		@Column(name="unit_name", attrName="unitName", label="单位名称", comment="单位名称"),
		@Column(name="create_by", attrName="createBy", label="创建人", isUpdate=false, isQuery=false),
		@Column(name="create_date", attrName="createDate", label="创建时间", isUpdate=false, isQuery=false, isUpdateForce=true),
}, orderBy="a.create_date DESC"
)
@Data
public class DcSupExamGroupUnit extends DataEntity<DcSupExamGroupUnit> {

	private static final long serialVersionUID = 1L;

	private String groupId;

	private String unitCode;

	private String unitName;

	private String unitCodes;
	private String unitNames;

	private String type;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getUnitCode() {
		return unitCode;
	}

	public void setUnitCode(String unitCode) {
		this.unitCode = unitCode;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}
}